package com.vcredit.creditcat.dto.product.h5;

import java.io.Serializable;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;


public class BindBankCardParamDto implements Serializable {
	
	private static final long serialVersionUID = 3227346896565391102L;
	
	@NotBlank(message = "请填写姓名")
	private String name;
	
	@Length(min = 15, max = 18, message = "身份证不正确")
	private String idNo;
	
	@NotBlank(message = "银行编码错误")
	private String bankCode;

	@Length(min = 16, max = 20, message = "卡号不正确")
	private String bankCard;
	
	@Length(min = 11, max = 11, message = "手机号不正确")
	private String mobile;
	
	public String getBankCard() {
		return bankCard;
	}

	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}
}
